package com.hncj.yqfk.service.impl;



import com.hncj.yqfk.entity.Log;
import com.hncj.yqfk.ldao.Log_Dao;
import com.hncj.yqfk.service.LogSer;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

@Transactional
public class LogService implements LogSer {
    @Resource
    private Log_Dao log_dao;
    @Override
    public boolean Add(Log log) {
        return log_dao.save(log)!=null;
    }


}
